package com.ydy.data;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//@EnableEurekaClient
@MapperScan(value = "com.ydy.data.mapper")
@EnableTransactionManagement
public class YdyDataApplication {

    private static Logger LOGGER = LoggerFactory.getLogger(YdyDataApplication.class);

    public static void main(String[] args) {
        LOGGER.info("数据服务启动...");
        SpringApplication.run(YdyDataApplication.class, args);
    }

}
